package com.aaa.entity.cart_order.zxh;

import java.io.Serializable;

/**
 * fileName:Order_Item
 * description:
 * author:zxh
 * createTime:2020/1/12 20:24
 * version:1.0.0
 */
public class Order_Item implements Serializable {
     //id
     private String order_id;
     //商品ID
    private Long product_id;
    //商品名字
    private String product_name;
    //商品图片
    private String product_pic;
    //商品销售属性
    private String sp1;
    //订单编号
    private String order_sn;
    //销售价格(下单时的价格)
    private Double product_price;
    //购买数量
    private int product_quantity;
    //优惠券优惠分解金额
    private Double coupon_amount;
    //积分优惠分解金额
    private Double integration_amount;
    //该商品经过优惠后的分解金额(实际金额)
    private Double real_amount;

    public String getSp1() {
        return sp1;
    }

    public void setSp1(String sp1) {
        this.sp1 = sp1;
    }

    public String getOrder_id() {
        return order_id;
    }

    public void setOrder_id(String order_id) {
        this.order_id = order_id;
    }

    public Long getProduct_id() {
        return product_id;
    }

    public void setProduct_id(Long product_id) {
        this.product_id = product_id;
    }

    public String getProduct_name() {
        return product_name;
    }

    public void setProduct_name(String product_name) {
        this.product_name = product_name;
    }

    public String getProduct_pic() {
        return product_pic;
    }

    public void setProduct_pic(String product_pic) {
        this.product_pic = product_pic;
    }

    public String getOrder_sn() {
        return order_sn;
    }

    public void setOrder_sn(String order_sn) {
        this.order_sn = order_sn;
    }

    public Double getProduct_price() {
        return product_price;
    }

    public void setProduct_price(Double product_price) {
        this.product_price = product_price;
    }

    public int getProduct_quantity() {
        return product_quantity;
    }

    public void setProduct_quantity(int product_quantity) {
        this.product_quantity = product_quantity;
    }

    public Double getCoupon_amount() {
        return coupon_amount;
    }

    public void setCoupon_amount(Double coupon_amount) {
        this.coupon_amount = coupon_amount;
    }

    public Double getIntegration_amount() {
        return integration_amount;
    }

    public void setIntegration_amount(Double integration_amount) {
        this.integration_amount = integration_amount;
    }

    public Double getReal_amount() {
        return real_amount;
    }

    public void setReal_amount(Double real_amount) {
        this.real_amount = real_amount;
    }

    @Override
    public String toString() {
        return "Order_Item{" +
                "order_id='" + order_id + '\'' +
                ", product_id=" + product_id +
                ", product_name='" + product_name + '\'' +
                ", product_pic='" + product_pic + '\'' +
                ", order_sn='" + order_sn + '\'' +
                ", product_price=" + product_price +
                ", product_quantity=" + product_quantity +
                ", coupon_amount=" + coupon_amount +
                ", integration_amount=" + integration_amount +
                ", real_amount=" + real_amount +
                '}';
    }
}
